gridpack::stream::InputStream Class Reference

#include <input_stream.hpp>

Collaboration diagram for gridpack::stream::InputStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InputStream ()
 ~InputStream ()
bool openFile (std::string file)
void close ()
bool nextLine (std::string &line)
bool isOpen ()

Constructor & Destructor Documentation

gridpack::stream::InputStream::InputStream (  ) 

Constructor

gridpack::stream::InputStream::~InputStream (  ) 

Destructor


Member Function Documentation

void gridpack::stream::InputStream::close (  ) 

Close a file or other input stream

bool gridpack::stream::InputStream::isOpen (  ) 

Report if a stream is currently open

Returns:
true if stream is open
bool gridpack::stream::InputStream::nextLine ( std::string &  line  ) 

Get next line from streaming source

Parameters:
line next line from streaming source
Returns:
true if another line is found
bool gridpack::stream::InputStream::openFile ( std::string  file  ) 

Open a file

Parameters:
filename name of file to open
Returns:
true of file is successfully opened

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1